package com.example.demo.elasticsearch;

import org.springframework.data.elasticsearch.repository.ElasticsearchCrudRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface BlogRepository extends ElasticsearchCrudRepository<BlogEntity,String> {

    List<BlogEntity> findByTitleLike(String keyword);
}
